﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

using Hangjing.Model;
using Hangjing.SQLServerDAL;
using Hangjing.Common;

public partial class qy_54tss_Admin_Service_CrmTop : System.Web.UI.UserControl
{
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!Page.IsPostBack)
        {
            EAdminInfo info = UserHelp.GetAdmin();
            if (info == null)
            {
                Response.Redirect("~/Admin/login.aspx");
            }
            lbadminname.InnerText = info.AdminName;


            WebUtility.checkOperator(1);
        }
    }
}
